//
//  RequestPopupView.h
//  aigo
//
//  Created by Tai Truong on 12/26/12.
//  Copyright (c) 2012 AIGO. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Define.h"

@class RequestPopupView;

@protocol RequestPopupViewDelegate <NSObject>
@optional

- (void)touchUpInsideAcceptRequestPopupCallbackWithNotificationType:(enumRemoveNotificationType)type;
- (void)touchUpInsideRejectRequestPopupCallbackWithNotificationType:(enumRemoveNotificationType)type;
- (void)touchUpInsideAroundRequestPopupCallbackWithNotificationType:(enumRemoveNotificationType)type;
- (void)touchUpInsideOKRequestPopupCallbackWithNotificationType:(enumRemoveNotificationType)type;
- (void)touchUpInsideSendRequestPopupCallbackWithNotificationType:(enumRemoveNotificationType)type;
- (void)touchUpInsideCancelRequestPopupCallbackWithNotificationType:(enumRemoveNotificationType)type;
- (void)touchUpInsideSendBillRequestPopupCallbackWithNotificationType:(enumRemoveNotificationType)type andAmount:(NSString *)amount;
- (void)touchUpInsideChargeRequestPopupCallbackWithNotificationType:(enumRemoveNotificationType)type;
- (void)touchUpInsideCashRequestPopupCallbackWithNotificationType:(enumRemoveNotificationType)type;

@end

@interface RequestPopupView : NSObject <UITextFieldDelegate> {
    
}
@property (weak, nonatomic) IBOutlet UILabel *distanceLbl;
@property (weak, nonatomic) IBOutlet UILabel *timeLbl;
@property (nonatomic, assign) id<RequestPopupViewDelegate> delegate;
@property (nonatomic, assign) enumRemoveNotificationType notificationType;
@property (nonatomic, retain) UIView *viewPopUp;
@property (weak, nonatomic) IBOutlet UILabel *lblMinutes;
@property (weak, nonatomic) IBOutlet UILabel *lblSeconds;
@property (weak, nonatomic) IBOutlet UILabel *lblCountingDownTitle;
@property (weak, nonatomic) IBOutlet UITextField *textFieldMeterAmount;

- (id)initWithNotificationType:(enumRemoveNotificationType)type;
- (IBAction)touchUpInsideAccept:(UIButton *)sender;
- (IBAction)touchUpInsideReject:(UIButton *)sender;
- (IBAction)touchUpInsideAround:(id)sender;
- (IBAction)touchUpInsideOK:(id)sender;
- (IBAction)touchUpInsideSend:(id)sender;
- (IBAction)touchUpInsideCancel:(id)sender;
- (IBAction)touchUpInsideSendBill:(id)sender;
- (IBAction)touchUpInsideCharge:(id)sender;
- (IBAction)touchUpInsideCash:(id)sender;

@end
